/******************************************************************************
 * Product: Adempiere ERP & CRM Smart Business Solution                       *
 * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved.                *
 * This program is free software, you can redistribute it and/or modify it    *
 * under the terms version 2 of the GNU General Public License as published   *
 * by the Free Software Foundation. This program is distributed in the hope   *
 * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.           *
 * See the GNU General Public License for more details.                       *
 * You should have received a copy of the GNU General Public License along    *
 * with this program, if not, write to the Free Software Foundation, Inc.,    *
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.                     *
 * For the text or an alternative of this public license, you may reach us    *
 * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA        *
 * or via info@compiere.org or http://www.compiere.org/license.html           *
 *****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;

import java.sql.ResultSet;
import java.util.Properties;

/** Generated Model for BCS_ACRInputForm_Company
 *  @author Adempiere (generated) 
 *  @version Release 3.7.0LTS - $Id$ */
public class X_BCS_ACRInputForm_Company extends PO implements I_BCS_ACRInputForm_Company, I_Persistent 
{

	/**
	 *
	 */
	private static final long serialVersionUID = 20130503L;

    /** Standard Constructor */
    public X_BCS_ACRInputForm_Company (Properties ctx, int BCS_ACRInputForm_Company_ID, String trxName)
    {
      super (ctx, BCS_ACRInputForm_Company_ID, trxName);
      /** if (BCS_ACRInputForm_Company_ID == 0)
        {
			setBCS_ACRInputForm_Company_ID (0);
			setC_BPartner_ID (0);
        } */
    }

    /** Load Constructor */
    public X_BCS_ACRInputForm_Company (Properties ctx, ResultSet rs, String trxName)
    {
      super (ctx, rs, trxName);
    }

    /** AccessLevel
      * @return 3 - Client - Org 
      */
    protected int get_AccessLevel()
    {
      return accessLevel.intValue();
    }

    /** Load Meta Data */
    protected POInfo initPO (Properties ctx)
    {
      POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
      return poi;
    }

    public String toString()
    {
      StringBuffer sb = new StringBuffer ("X_BCS_ACRInputForm_Company[")
        .append(get_ID()).append("]");
      return sb.toString();
    }

	/** Set BCS_ACRInputForm_Company ID.
		@param BCS_ACRInputForm_Company_ID BCS_ACRInputForm_Company ID	  */
	public void setBCS_ACRInputForm_Company_ID (int BCS_ACRInputForm_Company_ID)
	{
		if (BCS_ACRInputForm_Company_ID < 1) 
			set_ValueNoCheck (COLUMNNAME_BCS_ACRInputForm_Company_ID, null);
		else 
			set_ValueNoCheck (COLUMNNAME_BCS_ACRInputForm_Company_ID, Integer.valueOf(BCS_ACRInputForm_Company_ID));
	}

	/** Get BCS_ACRInputForm_Company ID.
		@return BCS_ACRInputForm_Company ID	  */
	public int getBCS_ACRInputForm_Company_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_ACRInputForm_Company_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set BCS_ACRInputForm_Period ID.
		@param BCS_ACRInputForm_Period_ID BCS_ACRInputForm_Period ID	  */
	public void setBCS_ACRInputForm_Period_ID (int BCS_ACRInputForm_Period_ID)
	{
		if (BCS_ACRInputForm_Period_ID < 1) 
			set_ValueNoCheck (COLUMNNAME_BCS_ACRInputForm_Period_ID, null);
		else 
			set_ValueNoCheck (COLUMNNAME_BCS_ACRInputForm_Period_ID, Integer.valueOf(BCS_ACRInputForm_Period_ID));
	}

	/** Get BCS_ACRInputForm_Period ID.
		@return BCS_ACRInputForm_Period ID	  */
	public int getBCS_ACRInputForm_Period_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_BCS_ACRInputForm_Period_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}

	/** Set Business Partner .
		@param C_BPartner_ID 
		Identifies a Business Partner
	  */
	public void setC_BPartner_ID (int C_BPartner_ID)
	{
		if (C_BPartner_ID < 1) 
			set_Value (COLUMNNAME_C_BPartner_ID, null);
		else 
			set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
	}

	/** Get Business Partner .
		@return Identifies a Business Partner
	  */
	public int getC_BPartner_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}
	
	public void setIsLoaded (boolean IsLoaded)
	{
		set_ValueNoCheck (COLUMNNAME_IsLoaded, Boolean.valueOf(IsLoaded));
	}	
	
	public void setIsChecked (boolean IsChecked)
	{
		set_ValueNoCheck (COLUMNNAME_IsChecked, Boolean.valueOf(IsChecked));
	}	
	
	public void setIsCommited (boolean IsCommited)
	{
		set_ValueNoCheck (COLUMNNAME_IsCommited, Boolean.valueOf(IsCommited));
	}	
	
	public void setC_DocType_ID (int C_DocType_ID)
	{
		if (C_DocType_ID < 0) 
			set_ValueNoCheck (COLUMNNAME_C_DocType_ID, null);
		else 
			set_ValueNoCheck (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
	}

	/** Get Document Type.
		@return Document type or rules
	  */
	public int getC_DocType_ID () 
	{
		Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID);
		if (ii == null)
			 return 0;
		return ii.intValue();
	}
	
	public boolean getIsLoaded() 
	{
		return (Boolean)get_Value(COLUMNNAME_IsLoaded);
	}
	
	public boolean getIsChecked() 
	{
		return (Boolean)get_Value(COLUMNNAME_IsChecked);
	}
	
	public boolean getIsCommited() 
	{
		return (Boolean)get_Value(COLUMNNAME_IsCommited);
	}
	
	public boolean getIsProcessed () 
	{
		return (Boolean)get_Value(COLUMNNAME_Processed);
	}

	public void setDocAction (String DocAction)
	{

		set_Value (COLUMNNAME_DocAction, DocAction);
	}

	/** Get Document Action.
		@return The targeted status of the document
	  */
	public String getDocAction () 
	{
		return (String)get_Value(COLUMNNAME_DocAction);
	}
	
	
	public void setProcessed(boolean Processed) {
		set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed));
		
	}
	
	public void setDocStatus (String DocStatus)
	{

		set_Value (COLUMNNAME_DocStatus, DocStatus);
	}
	
}